package com.lct.d15_extends_constructor;

public class Wolf extends Animal{
	public Wolf(){
		super(); //写不写都有，调用父类构造器
		System.out.println("子类无参构造器");
	}

	public Wolf(String n){
		System.out.println("子类有参构造器");
	}
}
